<template>
  <div id="markdown">

    <h1>管理员才可以看的</h1>
    {{content}}
    <button v-permission="'adminBtn'">adminBtn</button>
    <button v-permission="'editorBtn'">editorBtn</button>

  </div>
</template>

<script>
// import {Editor, Viewer} from ''

export default {
  name: 'admin',
  // components: {Editor, Viewer},
  data () {
    return {
      content: ''
    }
  },
  methods: {}

}
</script>

<style scoped>
  #markdown {
    padding: 10px;
    /*height: 500px;*/
  }

  button {
    padding: 10px;
    margin: 10px;
  }

</style>
